<div class="layui-container fly-marginTop fly-user-main">
    <!-- 左菜单栏 -->
    {include file="common/menu"}

    <div class="fly-panel fly-panel-user" pad20>
        <!--
    <div class="fly-msg" style="margin-top: 15px;">
      您的邮箱尚未验证，这比较影响您的帐号安全，<a href="activate.html">立即去激活？</a>
    </div>
    -->
        <table class="layui-table">
            <colgroup>
                <col width="500">
                <col width="150">
                <col>
            </colgroup>
            <thead>
                <tr>
                    <th>消费详情</th>
                    <th>消费状态</th>
                    <th>消费时间</th>
                    <th>变化的积分</th>
                </tr>
            </thead>
            <tbody>
                {foreach $region as $item}
                <tr>
                    <td>{$item.content}</td>
                    {if condition="$item.state eq 1"}
                    <td>发布</td>
                    {elseif condition="$item.state eq 2"}
                    <td>采纳</td>
                    {elseif condition="$item.state eq 3"}
                    <td>充值</td>
                    {elseif condition="$item.state eq 4"}
                    <td>签到</td>
                    {elseif condition="$item.state eq 5"}
                    <td>下商品订单</td>
                    {elseif condition="$item.state eq 6"}
                    <td>下预约订单</td>
                    {elseif condition="$item.state eq -1"}
                    <td>订单退货</td>
                    {/if}
                    <td>{$item.createtime}</td>
                    <td>{$item.point}</td>
                </tr>
                {/foreach}
            </tbody>

        </table>
    </div>
</div>
